import React from 'react';

export default [
  // {
  //   key: '/authoritymanage',
  //   text: '权限管理',
  //   children: [

  //   ],
  // },
  {
    key: '/authoritymanage/orgmanage',
    text: '组织管理',
    icon: <span className="iconfont icon-zuzhiguanli" />,
    children: [
      {
        key: '/authoritymanage/orgmanage/orgdetail',
        hide: true,
        text: '组织详情',
      },
    ],
  },
  {
    key: '/authoritymanage/usermanage',
    text: '用户管理',
    icon: <span className="iconfont icon-yonghuguanli" />,
  },
  // {
  //   key: '/authoritymanage/usergroupmanage',
  //   text: '用户组管理',
  //   icon: <span className="iconfont icon-yonghuzuguanli1" />,
  //   children: [
  //     {
  //       key: '/authoritymanage/usergroupmanage/usergroupdetail',
  //       hide: true,
  //       text: '用户组详情',
  //     },
  //   ],
  // },
  {
    key: '/authoritymanage/staffmanage',
    text: '员工管理',
    icon: <span className="iconfont icon-yuangongguanli" />,
  },
  // {
  //   key: '/authoritymanage/resmanage',
  //   text: '资源管理',
  //   icon: <span className="iconfont icon-ziyuanguanli" />,
  //   children: [
  //     {
  //       key: '/authoritymanage/resmanage/resAuth',
  //       hide: true,
  //       text: '授权',
  //     },
  //   ],
  // },
  {
    key: '/authoritymanage/commonrolemanage',
    text: '公共角色管理',
    icon: <span className="iconfont icon-jiaoseguanli" />,
    children: [
      {
        key: '/authoritymanage/commonrolemanage/roledetail',
        hide: true,
        text: '角色详情',
      },
    ],
  },
  {
    key: '/authoritymanage/orgrolemanage',
    text: '组织角色管理',
    icon: <span className="iconfont icon-jiaoseguanli" />,
    children: [
      {
        key: '/authoritymanage/orgrolemanage/roledetail',
        hide: true,
        text: '角色详情',
      },
    ],
  },
  {
    key: '/authoritymanage/position',
    text: '岗位管理',
    icon: <span className="iconfont icon-jiaoseguanli" />,
    children: [
      {
        key: '/authoritymanage/positionmanage',
        text: '岗位列表',
        icon: <span className="iconfont icon-jiaoseguanli" />,
      },
      {
        key: '/authoritymanage/positiontagmanange',
        text: '岗位标签',
        icon: <span className="iconfont icon-jiaoseguanli" />,
      },
    ],
  },
  {
    key: '/authoritymanage/usergroupmanage',
    text: '人员组管理',
    icon: <span className="iconfont icon-yonghuzuguanli1" />,
  },
  {
    key: '/authoritymanage/authorization',
    text: '权限管理',
    icon: <span className="iconfont icon-jiaoseguanli" />,
  },
  {
    key: '/authoritymanage/actionmanage',
    text: '按钮配置',
    icon: <span className="iconfont icon-jiaoseguanli" />,
  },
  {
    key: '/authoritymanage/settings',
    text: '系统设置',
    icon: <span className="iconfont icon-yingyongguanli" />,
  },
  // {
  //   key: '/authoritymanage/appmanage',
  //   text: '第三方应用管理',
  //   icon: <span className="iconfont icon-yingyongguanli" />,
  //   children: [
  //     {
  //       key: '/authoritymanage/appmanage/appdetail',
  //       hide: true,
  //       text: '详情',
  //     },
  //   ],
  // },
];
